-- GENERATED SPELL FOR [Scarlet Warrior] --


function spell0_1535(pUnit, Event) --@Nimble Reflexes,Self--
pUnit:FullCastSpellOnTarget(3238,pUnit)
pUnit:RegisterEvent('Sorts_1535', 8000, 1)
end

function Sorts_1535(pUnit, Event)
local choix_sorts_1535 = math.random(0, 0)
if choix_sorts_1535 == 0 then
pUnit:RegisterEvent('spell0_1535', 1, 1)
end
end

function mob1535_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1535', math.random(1500, 3000), 1)
end

function mob1535_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1535_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1535_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1535, 1, 'mob1535_Action')
RegisterUnitEvent(1535, 2, 'mob1535_Leave')
RegisterUnitEvent(1535, 3, 'mob1535_Kill')
RegisterUnitEvent(1535, 4, 'mob1535_Die')
